package com.yhao.Dao.tx;

import com.yhao.bean.tx.NewPerson;
import org.springframework.data.jpa.repository.JpaRepository;

public interface NewPersonRepository extends JpaRepository<NewPerson, Long> {
    /**
     * personId就是userName
     * @param personId
     * @return
     */
    NewPerson findByPersonId(String personId);
}
